﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using DWF.Studio.Service.Contract.Net.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.Service.Contract.Net
{
    public interface IPlatformApi
    {
        bool Connection();

        EConnState GetCurrentState();

        bool UploadScript(ScriptInfo param, string filePath);
 
        IEnumerable<ScriptInfo> GetScripts();

        bool UpdateScript(ScriptInfo param, string filePath);

        bool CreateParameter(ParamInfo param);

        IEnumerable<ParamInfo> GetParamParameters();
    }
}
